package com.wyl.clinic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 医生表
 * </p>
 *
 * @author wangyulong
 * @since 2024-02-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Doctor对象", description="医生表")
public class Doctor implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private Integer age;

    private Integer userId;

    private String img;
    private String position;

    private Integer departmentId;
    @TableField(exist = false)
    private String departmentName;

    private String remark;


}
